﻿using ARMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ARMS.Controllers
{
    public class ShopController : Controller
    {
        public ActionResult Index()
        {
            throw new NotImplementedException();
            //return View();
        }
        public ActionResult CreateShop(int shopID)
        {
            throw new NotImplementedException();
            //return View("CreateShop");
        }
        public ActionResult SaveShop(string name, string address, string state, string code)
        {
            ShopModel model = new ShopModel();
            int shopid = model.CreateShop(name, state, address, code );

            return View("SaveShop", shopid);
        }
    }
}
